<?php echo $this->Html->css('modify.css');?>
<div class="imfDiv">
	<div class="imfNeg">
		<span class="imfTitle">基本信息
		</span>
	</div>
	<div class="imfShow">
	<table class="imfContent">
		<tr>
			<td class="td1">呢称</td>
			<td>:</td>
			 <td><?php 
			 //var_dump($userinfos); 
			 if(isset ($userinfos['Userinfo']['nickname'])){
							echo $userinfos['Userinfo']['nickname'];
						}
						else echo"匿名用户";
				?></td>
		</tr>
		<tr>
			<td class="td1">性别</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['gender'])){
							if ($userinfos['Userinfo']['gender']==='0')
								echo"男";
								else echo "女";
						}
						else echo"还没填性别呢！";
				?></td>
		</tr>
		<tr>
			<td class="td1">生日</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['birthdayYear'])&&$userinfos['Userinfo']['birthdayYear']!="0"){
						echo $userinfos['Userinfo']['birthdayYear'];
					}
					else echo"";
			?>&nbsp;
			<?php if(isset ($userinfos['Userinfo']['birthdayMon'])&&$userinfos['Userinfo']['birthdayMon']!="0"){
						echo $userinfos['Userinfo']['birthdayMon'];
					}
					else echo"";
			?>&nbsp;
			<?php if(isset ($userinfos['Userinfo']['birthdayDay'])&&$userinfos['Userinfo']['birthdayDay']!="0"){
						echo $userinfos['Userinfo']['birthdayDay'];
					}
					else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">所在城市</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['city'])){
					echo $userinfos['Userinfo']['city'];
				}
				else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">兴趣爱好</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['hobby'])){
				echo $userinfos['Userinfo']['hobby'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">个人签名</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['introduction'])){
					echo $userinfos['Userinfo']['introduction'];
				}
				else echo"";
			?></td>
		</tr>
	</table>
	</div>
<div class="imfDiv">
	<div class="imfNeg">
		<span class="imfTitle">学校信息
		</span>
	</div>
	<div class="imfShow">
	<table class="imfContent">
		<tr>
			<td class="td1">大学</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['university'])){
				echo $userinfos['Userinfo']['university'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">高中</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['seniorHighSchool'])){
				echo $userinfos['Userinfo']['seniorHighSchool'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">中专技校</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['technicalSecondarySchool'])){
				echo $userinfos['Userinfo']['technicalSecondarySchool'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">初中</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['juniorHighSchool'])){
				echo $userinfos['Userinfo']['juniorHighSchool'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">小学</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['primarySchool'])){
				echo $userinfos['Userinfo']['primarySchool'];
			}
			else echo"";
			?></td>
		</tr>
	</table>
	</div>
</div>
<div class="imfDiv">
	<div class="imfNeg">
		<span class="imfTitle">联系方式
		</span>
	</div>
	<div class="imfShow">
	<table class="imfContent">
		<tr>
			<td class="td1">QQ</td>
			<td>:</td>
			<td><?php if (isset ($userinfos['Userinfo']['qq'])&&$userinfos['Userinfo']['qq']!="0"){
				echo $userinfos['Userinfo']['qq'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">MSN</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['msn'])){
				echo $userinfos['Userinfo']['msn'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">邮箱</td>
			<td>:</td>
			<td>
			<?php 
			if(isset ($userinfos['Userinfo']['publicemail'])&&$userinfos['Userinfo']['publicemail']=='1')
				{
					if(isset ($userinfos['Userinfo']['email'])){
					echo $userinfos['Userinfo']['email'];
					}
					else echo'';
				}
			else if(isset ($userinfos['Userinfo']['publicemail'])&&$userinfos['Userinfo']['publicemail']=='0')
					echo "(邮箱还没公开)";
			?>
			</td>
		</tr>
		<tr>
			<td class="td1">手机号</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['cellphone'])){
				echo $userinfos['Userinfo']['cellphone'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">个人博客</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['blog'])){
				echo $userinfos['Userinfo']['blog'];
			}
			else echo"";
			?></td>
		</tr>
		<tr>
			<td class="td1">个人微博</td>
			<td>:</td>
			<td><?php if(isset ($userinfos['Userinfo']['microBlog'])){
				echo $userinfos['Userinfo']['microBlog'];
			}
			else echo"";
			?></td>
		</tr>
	</table>
	</div>
</div>
<script>
	var thisNickName = $("td:eq(4)").html();
	$("#fixedItem").css("display","none");
	$("#wheader").html("&nbsp;&nbsp;" + thisNickName + "的个人资料");
	$("#wheader").css("display","block");
</script>